' make a directory on the selected drive for test,
' don't take care of the returned error if the directory
' already exist
ErrCode = cMakeDir(DirectoryTest)
' clear the list for initialization
frmBig1.List1.Clear
' initialize each type of variable, see InitBigInteger for explain
Call InitBigInteger
Call InitBigLong
Call InitBigSingle
Call InitBigDouble
Call InitBigString
Call InitBigTyped
' enable the form
cEnableFI frmBig1.Picture1
End Sub
Sub DeleteDemoFiles ()
Dim i As Integer
Dim ErrCode As Integer
' close all arrays (in not already closed) and delete it
For i = 1 To 6
Call cDAClose(DA(i), True)
Next i
' remove the test directory
ErrCode = cKillDir(DirectoryTest)
End Sub
Sub DisplayMessage (Frm As Form, TextOrder As String, InsertText As String)
' display a multi-language message box, message are centered
' and a timeout of 16 seconds is displayed.
Call cLngBoxMsg(CurrentLanguage, ReadText(Frm, TextOrder, InsertText), MB_MESSAGE_CENTER Or MB_TIMEOUT_16 Or MB_DISPLAY_TIMEOUT Or 32, "BIG DISK ARRAY")